# -*- coding: utf-8 -*-
"""
Created on Fri Nov 10 16:32:51 2017

@author: za-xuzhaoye
"""

import tushare as ts

#df = ts.get_hist_data('02828')
#df.to_excel('D:/FOF_strategy/A&H_ETF_data/02828.xlsx')

df = ts.get_hist_data('510880')
df.to_csv('D:/FOF_strategy/A&H_ETF_data/510880.csv')

df = ts.get_hist_data('502050')
df.to_csv('D:/FOF_strategy/A&H_ETF_data/502050.csv')

df = ts.get_hist_data('513660')
df.to_csv('D:/FOF_strategy/A&H_ETF_data/513660.csv')

